package com.shop.cloud.service.hongfu;

import java.util.List;

import com.shop.cloud.common.mybatis.BaseServiceI;
import com.shop.cloud.domain.hongfu.Activity;
import com.shop.cloud.domain.hongfu.ActivityEnroll;
import com.shop.cloud.util.Page;

/**
 * activity
 */
public interface IActivityService extends BaseServiceI<Activity> {
    
	Activity handleActivity(Long userId, String activityID);
	
	boolean handleInsertActivity(Activity activity);
	
	int handleDeleteActivity(String activityID);
	
	Activity handleActivityAndEnroll(String activityID);
	
	List<ActivityEnroll> handleActivityUserList(String activityID);
	
	int handleUpdateActivity(Activity activity);
	
	Page<Activity> getPage(Long userID, Activity activity);
	
	int handleActivityEnroll(Long userID, String activityID);
	
	void handleActivityEnd();
	
	void handleActivityStart();
	
	void handleActivityRefund(String activityID, Long userId);
}